package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @author honeypeach
 * @date 2023/3/24 14:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    private Long employeeId;
    private String firstName;
    private String lastName;
    private String email;
    private String phoneNumber;
    private Date hireDate;
    private String jobId;
    private BigDecimal salary;
    private BigDecimal commissionPct;

    private Long managerId;

    private Long departmentId;
    /**
     * 员工领导
     */
    private Employee leader;

    /**
     * 员工下属
     */
    private List<Employee> employeeList;

}
